<template>
    <div :class="[btnClass,cname]">
      <slot></slot>
    </div>
</template>

<script>
export default {
  name: 'coreBtn',
  props: {
    cname: {
      type: String,
      default: ''
    }
  },
  data () {
    return {
      btnClass: 'btn'
    }
  }
}
</script>

<style lang="stylus" scoped>
  .btn
   padding:.1rem
   font-size:.28rem
   background:#f04752
   line-height:1
   border-radius:.1rem
   border:1px solid #f04752
   text-align:center
   color:#fff
   display:inline-block
</style>
